﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace iS3.DAL
{
    /// <summary>
    /// Manipulate：table / view / custom statement
    ///<para>操作：表/视图/自定义语句</para>
    /// </summary>
    public class iS3DBAction : IDisposable
    {
        public iS3DBAction(string connectionStr)
        {
            this._ConnString = connectionStr;
        }
        private string _TableName; //表名
        /// <summary>
        /// Table name (if the view statement is the operation, the final view of the name)
        ///<para>当前操作的表名(若操作的是视图语句，则为最后的视图名字</para> ）
        /// </summary>
        public string TableName
        {
            get
            {
                return _TableName;
            }
            set
            {
                _TableName = value;
            }
        }
        private string _ConnString;
        /// <summary>
        /// The database connection string
        ///<para>数据库链接字符串</para> 
        /// </summary>
        public string ConnString
        {
            get
            {
                return _ConnString;
            }
        }

        public void Dispose()
        {
            throw new NotImplementedException();
        }
    }
}
